# This file is only exec make command.

.PHONY:all clean dist_clean

all:boot.php 
	rm -rf usr && mkdir -p usr/local/bin && cp boot.php usr/local/bin &&\
	encode usr/local/bin/boot.php && ln -s /usr/local/apache2/htdocs/config.xml usr/local/bin/config.xml
	tar czvf boot.tgz usr
clean:
	rm -rf usr boot.tgz config.xml 

dist_clean:clean

test:
	scp boot.tgz 192.168.133.129:/ldisk/upgrade
	
